//
//  ErWeiMaViewController.m
//  LoLBox
//
//  Created by lanou3g on 15/5/30.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "ErWeiMaViewController.h"

@interface ErWeiMaViewController ()

@end

@implementation ErWeiMaViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    [self sendView];
    
}

-(void)sendView
{
    self.navigationController.navigationBar.barStyle = UIBarStyleBlack;
    
    self.navigationController.navigationBar.backgroundColor = [UIColor blackColor];
    
    self.navigationItem.title = @"二维码";
    
    UIBarButtonItem * leftBI = [[UIBarButtonItem alloc]initWithImage:[UIImage imageNamed:@"btn_nav_back"] style:UIBarButtonItemStylePlain target:self action:@selector(wayBI)];
    
    self.navigationItem.leftBarButtonItem = leftBI;

    
    UIImageView * imageView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"erweima7.30.09.png"]];
    
    imageView.frame = CGRectMake(0, 64, 375, self.view.frame.size.height-64);

    [self.view addSubview:imageView];


}

-(void)wayBI
{
    
    [self.navigationController popViewControllerAnimated:YES];
    
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
